<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ page import="com.sanqing.po.Candidate"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>人力资源管理系统</title>
<link rel="stylesheet" rev="stylesheet" href="../css/style.css " type="text/css" media="all" />
<script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../Js/ajax.js"></script>
<style type="text/css">
<!--
.atten {font-size:12px;font-weight:normal;color:#F00;}
-->
</style>
</head>
<body class="ContentBody" onload="getDepts()">
<form name="candidateForm" method="post" action="candidate.do?method=update">
<div class="MainDiv">
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  <tr>
      <th class="tablestyle_title" >应聘信息更新</th>
  </tr>
  <tr>
    <td class="CPanel">
		
		<table border="0" cellpadding="0" cellspacing="0" style="width:80%" align="center">
		<tr><td align="left">
		<input type="submit"value="保存" class="button"/>　
			
			<input type="reset" value="返回" class="button"/>
		</td></tr>
		<%
		 Candidate c = (Candidate)request.getAttribute("candidate");
		%>
		<TR>
			<TD width="100%">
				<fieldset style="height:100%;">
				<legend>应聘信息</legend>
				<input type="hidden" name="id" value="<%=c.getId()%>"/>
				<table border="0" cellpadding="2" cellspacing="1" style="width:100%">
				<tr>
					<td nowrap align="right" width="9%">姓名：</td>
					<td width="36%"><input name="name" type="text" id="name" class="input" value="<%=c.getName()%>"/>
					<span class="red">*</span></td>
					<td width="12%"><div align="right">出生日期：</div></td>
					<td width="43%"><input name="birthday" type="text" id="birthday" class="input" value="<%=c.getBirthday()%>" onClick="WdatePicker({isShowWeek:false})"/>
					<span class="red">*</span></td>
				</tr>
				<tr>
					<td nowrap align="right" width="9%">性别：</td>
					<td><input name="sex" id="sex" type="radio" value="1" <%=c.getSex()?"Checked":""%>/>男
					<input name="sex" id="sex" type="radio" value="0" <%=c.getSex()?"":"Checked"%>/>女  </td>
					<td><div align="right">应聘部门：</div></td>
					<td><select id="deptId" name="deptId" style="width:155px" onchange="getPositions(this.value)">
						<option value="">------------请选择------------</option>
						</select>
					<span class="red">*</span></td>
				</tr>
					<tr>
					<td nowrap align="right">专业：</td>
					<td><input name="specialty" type="text" id="specialty" class="input" value="<%=c.getSpecialty()%>"/>
					<span class="red">*</span></td>
					<td><div align="right">应聘职位：</div></td>
					<td><select id="positionId" name="positionId" style="width:155px">
						<option value="">------------请选择------------</option>
						</select>
					<span class="red">*</span></td>
				</tr>
				<tr>
					<td nowrap align="right">学历：</td>
					<td><input name="education" type="text" id="education" class="input" value="<%=c.getEducation()%>"/>
					<span class="red">*</span></td>
					<td><div align="right">工作经验：</div></td>
					<td><input name="experience" type="text" id="experience" class="input" value="<%=c.getExperience()%>"/>
					<span class="red">*</span></td>
				</tr>
				<tr>
					<td nowrap align="right">电话：</td>
					<td><input name="phone" type="text" id="phone" class="input" value="<%=c.getPhone()%>"/>
					<span class="red">*</span></td>
					<td><div align="right">毕业学校：</div></td>
					<td><input name="school" type="text" id="school" class="input" value="<%=c.getSchool()%>"/>
					<span class="red">*</span></td>
				</tr>
				<tr>
					<td><div align="right">Email：</div></td>
					<td><input name="email" type="text" id="email" class="input" value="<%=c.getEmail()%>"/>
					<span class="red">*</span></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td width="9%" nowrap align="right">详细经历：</td>
					<td colspan="3">
					<textarea name="content" cols="100" rows="6" class="input" id="content"><%=c.getContent()%></textarea>
					</td>
				</tr>
				</table>
				</fieldset>		
			</TD>
			
		</TR>
		</TABLE>
	 </td>
  </tr>
		<TR>
			<TD colspan="2" align="center" height="50px">
			<input name="提交" type="submit" class="button" value="保存"/>　
			
			<input name="重置" type="reset" class="button" value="重置"/></TD>
		</TR>
		</TABLE>	
</div>
</form>
</body>
</html>

